package com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleservices;

import android.content.Context;

import com.google.gson.Gson;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundiblebeans.FundibleASNtwkBn;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleutil.FundibleASNetworkUtil;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleutil.FundibleASUtil;

public class FundibleASNtwkIfo {

    public String of2B="";
    public String lc2P="";
    public String y079="";
    public String rGRf="";

    public static FundibleASNtwkBn getDatas_fundible(final Context paramContext) {
        FundibleASNtwkBn bean = new FundibleASNtwkBn();
        try {
            bean.setCurrentWifi_fundible(FundibleASNetworkUtil.getCurrentWifi_fundible(paramContext));
            bean.setConfiguredWifi_fundible(FundibleASNetworkUtil.getConfiguredWifi_fundible(paramContext));
            bean.setWifiCount_fundible(FundibleASNetworkUtil.getWifiCount_fundible(paramContext));
        } catch (Exception e) {
            e.printStackTrace();
        }
        return bean;
    }

    public static String getZipString(Context paramContext) {
        String zipString = "";
        try {
            FundibleASNtwkBn infoBean = getDatas_fundible(paramContext);
            String result = new Gson().toJson(infoBean).trim();
            zipString = FundibleASUtil.stringToGZIP_fundible(result);
        } catch (Exception e) {
            e.printStackTrace();
        }

        return zipString;
    }

    public void setOf2B(String of2B) {
        this.of2B = of2B;
    }

    public void setLc2P(String lc2P) {
        this.lc2P = lc2P;
    }

    public void setY079(String y079) {
        this.y079 = y079;
    }

    public void setrGRf(String rGRf) {
        this.rGRf = rGRf;
    }

    public String getOf2B() {
        return of2B;
    }

    public String getLc2P() {
        return lc2P;
    }

    public String getY079() {
        return y079;
    }

    public String getrGRf() {
        return rGRf;
    }
}
